//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.huidian.resource.client;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author tjs
 */
@ApiModel("基本页码管理")
public class PageVo {
    @ApiModelProperty("页码")
    private transient Integer page;
    @ApiModelProperty("每页记录数量")
    private transient Integer pageSize;

    public PageVo() {
    }

    public Integer getPage() {
        return this.page;
    }

    public Integer getPageSize() {
        return this.pageSize;
    }

    public void setPage(final Integer page) {
        this.page = page;
    }

    public void setPageSize(final Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof PageVo)) {
            return false;
        } else {
            PageVo other = (PageVo)o;
            return other.canEqual(this);
        }
    }
    protected boolean canEqual(final Object other) {
        return other instanceof PageVo;
    }

    @Override
    public int hashCode() {
        return 1;
    }

    @Override
    public String toString() {
        Integer var10000 = this.getPage();
        return "PageVo(page=" + var10000 + ", pageSize=" + this.getPageSize() + ")";
    }
}
